//
//  LOLRollViewController.m
//  LOLNews
//
//  Created by MXL on 16/10/28.
//  Copyright © 2016年 KK. All rights reserved.
//

#import "LOLRollViewController.h"
#import "LOLScrollView.h"

@interface LOLRollViewController ()

@property (nonatomic,weak)LOLScrollView *sv;

@end

@implementation LOLRollViewController

#pragma mark - 界面
- (void)setupUI{
    self.view.backgroundColor = [UIColor clearColor];
    LOLScrollView *sv = [[LOLScrollView alloc]init];
    
    [self.view addSubview:sv];
    
    self.sv  = sv;
    
}

#pragma mari - 部署子控件
- (void)viewDidLayoutSubviews{
    
    
    [self.sv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.right.bottom.equalTo(self.view);
    }];
    
}

@end
